<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<style>
    .head {
        display: flex;
        justify-content: space-between;
        font-size: 20px;
        font-weight: 700;
        position: sticky;
        top: 0;
        border-bottom: 1px solid rgb(131, 131, 131);
        height: 30px;
    }
</style>

<body>
    <div class="head">
        <span class="fanhui">&lt;</span>
        <span>大众饮食</span>
        <span>&nbsp;</span>
    </div>
</body>

</html>
<script>
    document.querySelector(".fanhui").onclick = function () {
        location.href = "./index.html"
    }
</script>